Skip to content

Instantly share code, notes, and snippets.

@qoli
qoli / VOD.json
Created November 2, 2022 02:35
VOD.json
{
"uuid": "e24b4542-ce5d-4625-b2cb-e40429945328",
"json": [
{
"type": 1,
"name": "if101[屏蔽国内ip]",
"api": "http://api.if101.tv/v1/vod"
},
{
"type": 0,
@v1ld
v1ld / Scripting Witcher 3 Remastered: a field guide to annotations and mod layering.md
Last active November 11, 2026 05:22
Scripting Witcher 3 Remastered: a field guide to annotations and mod layering

Scripting Witcher 3 Remastered: a field guide to annotations and mod layering

Nov 2, 2026 · v1ld

About this guide

Annotations (@wrapMethod, @replaceMethod, @addMethod, @addField) cover most script modding on The Witcher 3 Remastered (patch 5.01; the game's own files number it 4.10, and this guide says Remastered), but not all of it, and the gaps show up only at compile time. This guide lists the rules we confirmed, the exact compiler messages that reveal each one, and the workarounds that held up.

Everything here comes from porting a large 1.32-era gameplay overhaul to Remastered and then layering three more mods on top. That meant about 1,700 changed members, 30 compile rounds and dozens of in-game checks. Each rule was confirmed one of two ways: by a real compile (wcc_lite compilescripts, or the game's own compile at launch) or by a check in the running game that printed its result to the script log. Where something is still unproven, the guide says so.

@doggy8088
doggy8088 / claude.md
Last active November 11, 2026 05:08 — forked from OmerFarukOruc/claude.md
AI Agent Workflow Orchestration Guidelines

AI Coding Agent Guidelines (claude.md)

These rules define how an AI coding agent should plan, execute, verify, communicate, and recover when working in a real codebase. Optimize for correctness, minimalism, and developer experience.


Operating Principles (Non-Negotiable)

  • Correctness over cleverness: Prefer boring, readable solutions that are easy to maintain.
  • Smallest change that works: Minimize blast radius; don't refactor adjacent code unless it meaningfully reduces risk or complexity.
@jgamblin
jgamblin / antiautosploit.py
Last active November 11, 2026 05:05
Blocks Shodan IPs From Scanning Your Servers.
#!/usr/bin/python3
import os
shodan = ["104.131.0.69", "104.236.198.48", "155.94.222.12","155.94.254.133", "155.94.254.143", "162.159.244.38", "185.181.102.18", "188.138.9.50", "198.20.69.74", "198.20.69.98", "198.20.70.114", "198.20.87.98", "198.20.99.130", "208.180.20.97", "209.126.110.38", "216.117.2.180", "66.240.192.138", "66.240.219.146", "66.240.236.119", "71.6.135.131", "71.6.146.185", "71.6.158.166", "71.6.165.200", "71.6.167.142", "82.221.105.6", "82.221.105.7", "85.25.103.50", "85.25.43.94", "93.120.27.62", "98.143.148.107", "98.143.148.135"]
for ip in shodan:
os.system("iptables -A INPUT -s {} -j DROP".format(ip))
@matheusbattisti
matheusbattisti / prompts-fable-5-2-jeito-certo.md
Last active November 11, 2026 05:03
Fable 5.2 do jeito certo: as 10 dicas da Anthropic e o mesmo FPS do jeito comum e do jeito certo (Hora de Codar)

Fable 5.2 do jeito certo: 10 dicas oficiais da Anthropic

Os comandos e prompts do vídeo. O mesmo FPS foi pedido ao Claude Fable 5.2 no Claude Code de dois jeitos, um pedido só de cada lado: do jeito comum (esforço médio, pedidos normais) e do jeito certo (esforço high, pedidos com as dicas do guia oficial).

Guia oficial: https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-fable-5-2

As 10 dicas

  1. Veja em qual esforço você está (/effort status): médio no dia a dia, high para código difícil, xhigh só onde você mediu ganho.
  2. Diga para que serve: para quem é e o que não pode falhar.
// Author: Omdihar
#include "HwidSpoofer.h"
#include "SystemRoutines.h"
#include <ntddstor.h>
#include <Ntdddisk.h>
PDRIVER_DISPATCH OldIrpMj;
char NumTable[] = "123456789";
@chongkong
chongkong / days_are_long_but_decades_are_short.md
Last active November 11, 2026 04:55
Sam Altman - The days are long but the decades are short

이 글은 샘 알트만이 2015년 4월 29일 Y-Combinator의 president으로 일하던 시절 서른살이 되면서 쓴 The days are long but the decades are short를 한글로 번역한 글입니다. 다른 번역 글도 있었으나 오역이 많아 원문에서 재차 의역했습니다.

하루는 길지만 10년은 짧다.

나는 지난주에 30살이 되었는데, 친구들이 내가 20대에 배운것들 중 곰씹을만한 삶의 조언들이 없을지 물어보았다. 이러한 목록들이 대게 깊이가 없으므로 글을 쓸지 다소 고민했는데, 아무튼 내 답은 다음과 같다.

  1. 가족들, 친구들, 또는 다른 소중한 사람들에 대한 우선순위를 절대 낮추지 말 것. 수백 명의 지인들보다는 정말 가까운 한줌의 친구들을 소중히 여길 것. 오랜 친구들과 연락이 끊기지 않도록 노력할 것. 가끔은 밤새 해가 뜰 때까지 사람들과 얘기하느라 시간을 보낼 것. 파티를 열 것.

  2. 인생은 리허설이 아님. 이게 전부지만 정말 잘 새겨넣기. 시간은 아주 제한적인 자원이고, 엄청 빨리 간다. 나를 행복하게 만들거나 만족스러운 일을 할 것 - 어차피 수백 년 후에 기억되는 사람은 아주 소수에 불과하다. 나를 행복하게 만들지 못하는 일(대게 다른 사람이 나에게 시키는 일)은 하지 말기. 내가 좋아하지 않는 사람과 관계를 유지하기 위해 많은 시간을 쓰지 말기, 나에게 해를 끼치는 사람들은 내 인생에서 없애기. 내 인생을 좀먹는 것들을 용납하지 말 것. 내가 하고 싶어 하는 일을 하지 않는 데에 변명하지 말기.

@dvdknaap
dvdknaap / ResetMacPassword.md
Created July 27, 2018 08:28
Reset Mac password

Recent admin password via Recovery mode

  • Hold during boot cmd+R
  • Click on the top left scheen on the 'Utilities' menu and then on 'Terminal'
  • When Terminal is open typ 'resetpassword' and press enter

Reset your admin password using Single-user mode

  • Hold during boot cmd+S
  • Type 'mount -uw /' and press enter
  • Type 'launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist' and hit enter
  • After this you can reset any username with 'passwd username'
@adasThePrime
adasThePrime / README.md
Last active November 11, 2026 04:51
A complete guide to installing Windows 11 IoT LTSC - a lightweight, bloat-free edition with no ads, no forced updates, and relaxed hardware requirements. Perfect for Windows 10 users whose devices don't meet standard Windows 11 requirements, or anyone seeking a clean, stable Windows experience without the bloat.

Windows 11 IoT LTSC: The Edition That Doesn't Suck

Stop chasing Windows 11 alternatives or experimenting with risky third-party builds to upgrade from Windows 10 or trying to debloat mainstream editions. The ideal solution is already available: Windows 11 IoT LTSC.

It's a lightweight, stable, and bloat-free edition of Windows 11 that's perfect for productivity, development, or even gaming without the unnecessary apps, ads, or forced updates found in mainstream editions. Best of all, if your PC runs Windows 10 well, it'll handle Windows 11 IoT LTSC just as smoothly, with no performance drop or compatibility issues.

In this guide, I'll walk you through everything you need to know about Windows 11 IoT LTSC: how to prepare your system, install the OS, and configure it for daily use. By the end, you'll have a streamlined Windows setup perfect for productivity, development, or even gaming without the baggage of mainstream editions.

At the time of writing, the latest releas

@ih2502mk
ih2502mk / list.md
Last active November 11, 2026 04:51
Quantopian Lectures Saved